package cn.wolfcode.quest;

import lombok.*;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class QueryObject {
    //存放用户传来的数据
    private Integer pageSize=5;
    private Integer currentPage=1;
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }
}
